cmake_minimum_required(VERSION 3.10.0)
project(xiaozhi-client VERSION 0.1.0 LANGUAGES C)

add_executable(player player.c)
target_link_libraries(player asound opus)

add_executable(recorder recorder.c)
target_link_libraries(recorder asound opus)

add_executable(client client.c mongoose.c macaddr.c)
target_compile_definitions(client PRIVATE MG_TLS=MG_TLS_OPENSSL)
target_link_libraries(client ssl crypto)

